package model.events

import model.postgresql.PgBaseEvent

trait BaseEvent(event_id: Option[String] = None, timestamp: Option[Long] = None) {
  def convertToJson: String
  def getUserId: Option[Long]
  def setTimestamp(ts: Long): BaseEvent
  def toPg: Option[PgBaseEvent]
}
